import React from 'react'
import { Calendar, Dialog, Button } from 'antd-mobile'

const Index: React.FC = () => {
	return (
		<div>
			<Calendar
				selectionMode='single'
				defaultValue={new Date()}
				onChange={val => {
					console.log(val)
				}}
			></Calendar>
			<Button onClick={
				() => Dialog.alert({
					content: '签到成功',
				})
			}>点击签到</Button>
		</div>
	)
}


export default Index